package com.bobo.dao.favourite;

import com.bobo.dto.Counts;
import com.bobo.model.Favourite;
import com.bobo.model.Topic;

import java.util.List;

/**
 * Created by bobo on 16-10-28.
 */
public interface IFavouriteDao {

    public Integer create(Favourite favourite);

    public boolean delete(Favourite favourite);

    public List<Topic> getTopics(Integer userId,Integer current, Integer pageSize);

    public Integer getCount(Integer topicId,Integer userId);

    public boolean query(Favourite favourite);

    public Counts getCounts(Integer userId);
}
